package com.jkd.mapper;

import com.jkd.model.pojo.Discipline;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DisciplineMapper {

    @Select("select * from discipline")
    List<Discipline> selectAll();

    @Select("select * from discipline where discipline_id=#{disciplineId}")
    Discipline selectById(Integer disciplineId);
}
